package com.suyuan.params;

import java.io.Serializable;

/**
 * 根据分类id查询分页数据--参数对象
 */
public class CategoryParam implements Serializable{

    /**
     * 类型id
     */
    private Integer id;

    /**
     * 分页数据量
     */
    private Integer pageSize;

    /**
     * 页码
     */
    private Integer pageNumber;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public CategoryParam(){}

    public CategoryParam(Integer id, Integer pageSize, Integer pageNumber) {
        this.id = id;
        this.pageSize = pageSize;
        this.pageNumber = pageNumber;
    }
}
